<template>
  <infinite-scroll :allPerson="allPerson"></infinite-scroll>
</template>
<script setup>
import { onMounted } from "vue";
import { getSelectBranchMien } from "@/api/dataScreen/dataScreen.js";
import InfiniteScroll from "@/components/three/component/InfiniteScroll.vue";

const allPerson = ref([]);
onMounted(() => {
  getSelectBranchMien().then((res) => {
    allPerson.value = res.data.map((item) => {
      return {
        ...item,
      };
    });

    console.log(allPerson.value);
  });
});
</script>
<style scoped lang="less"></style>
